<%--
  Created by IntelliJ IDEA.
  User: 86176
  Date: 2020/10/29
  Time: 20:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="<%=request.getContextPath()%><%--获取动态的路径--%>
        /LoginServlet<%--要去的文件--%>">
<input type="text" name="username" placeholder="提示用户输入账号"><br><%--换行--%>
<input type="text" name="password" placeholder="提示用户输入密码"><br>
<button type="submit">登录按钮</button><%--一个按钮 点击就会跳转--%>
<%=request.getAttribute("cuowu")!=null?request.getAttribute("cuowu"):""%><%--获取刚刚写的错误提示--%>
</form>
</body>
</html>
